ZATCA XML Validation Issue – BR-CO-14 & BR-CO-15
While submitting the invoice XML to the ZATCA test validation portal, the XML may sometimes appear as valid, but the following errors can still occur during official ZATCA validation:
Issue Identified:
The errors BR-CO-14 and BR-CO-15 are caused by minor rounding differences between item-level tax calculations and the reported totals:
- BT-110 – Invoice total VAT amount
- BT-112 – Invoice total amount with VAT
Even a difference as small as 0.005 can trigger the error, and this is often only detected by ZATCA, not the test portal.
Resolution:
- Adjusting the rate of a single item slightly (e.g., 0.02) was enough to correct the discrepancy.
- After this adjustment, the invoice totals matched precisely, and the XML passed validation consistently.
Key Notes:
- Rounding differences at the item level can propagate to total amounts, causing BR-CO errors.
- The XML structure itself is valid (XSD passes), but numeric accuracy must be exact.